<template>
  <div class="hw-flex-style-c-c parent-box">
    <titleLeft />
    <div class="hw-flex-style-c-c title-style-box">
      <titleCenter />

      <span
        class="title-boxs-item"
        :style="{
          fontSize: '15px',
          fontFamily: 'SourceHanSerifCN',
        }"
        >{{ props.title }}</span
      >
    </div>
    <titleRight />
  </div>
</template>

<script setup lang="ts">
// @ts-nocheck
import titleLeft from './titleLeft.vue';
import titleRight from './titleRight.vue';
import titleCenter from './titleContent.vue';
import { useProjectStore } from '@/store';

const store = useProjectStore();
const props = defineProps({
  title: {
    type: String,
  },
});
</script>

<style lang="less" scoped>
.hw-flex-style-c-c {
  // max-width: 400px;
}

.title-style-box-item {
  width: 100%;
}
.parent-box {
  position: relative;
  max-width: 100%;

  // padding: 0 32px;
}
.hw-flex-style-c-c {
  height: 32px;
}
.title-boxs-item {
  position: relative;
  display: flex;
  max-width: 100%;
  height: 32px;
  // padding: 0 16px;
  line-height: 32px;
  font-size: 15px;
}
.title-style-box {
  display: flex;
  position: relative;
  max-width: 100%;
  // min-width: 168px;
  padding: 0px 0px;
  height: 32px;
  overflow: hidden;
  span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}
</style>
